<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/commons/taglibs.jsp" %>
<%@ include file="/commons/nocache.jspf" %>
<%@ taglib uri="/FCKeditor" prefix="FCK"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

<title>新闻管理</title>
<link href="${ctx }/css/admin/css.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body,td,th {
	font-size: 12px;
	color: #000000;
}
body {
	background-color: #F3F8FC;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
a {
	font-family: 宋体;
	font-size: 12px;
	color: #000000;
}
a:visited {
	color: #000000;
}
a:hover {
	color: #FF3300;
}
a:active {
	color: #000000;
}
-->

-->
</style>
<script type="text/javascript" src="${ctx }/fckeditor/fckeditor.js"></script>
<script type="text/javascript" src="${ctx}/scripts/commons/annext.js"></script>
<script type="text/javascript" src="${ctx}/scripts/commons/jquery-1.2.3.pack.js"></script>
<script type="text/javascript" src="${ctx}/scripts/commons/jquery.MultiFile.js"></script>


</head>
<link href="${ctx}/css/main/base.css" rel="stylesheet" type="text/css"/>
<link href="${ctx}/css/main/main.css" rel="stylesheet" type="text/css"/>
<body>
<div id="main">
	<div class="zdsz" id="select1">
		<div class="tab"><a href="ctx/../news!index.action"><h3>添加新闻</h3></a><a href="ctx/../news!list.action"><h3>新闻列表</h3></a></div>
		<div class="zd_gut">
		<ul class="block">
		<li>
<form action="" enctype="multipart/form-data">
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="${ctx }/images/maintopbg.gif">
  <tr>
    <td align="left"><img src="${ctx }/images/maintop.gif" width="7" height="12" /></td>
  </tr>
</table>

<table width="95%" border="0" align="center" cellpadding="0" cellspacing="1" 

bgcolor="#CCCCCC">
  <tr>
    <td   height="30" align="right" bgcolor="#DFEAF3">功能分类：</td>
     <td height="30" align="left" bgcolor="#FFFFFF" class="tblz5">
    	${titleFunc.funcName }
    </td>
    <td height="25" align="right" bgcolor="#DFEAF3">新闻类型：</td>
    <td height="25" align="left" bgcolor="#FFFFFF" class="tblz5">
         <c:if test="${news.newsType=='0'}">文字新闻</c:if>
		 <c:if test="${news.newsType=='1'}">图片新闻</c:if>
		 <c:if test="${news.newsType=='2'}">视频新闻</c:if>
    </td>
  </tr>
  <tr>
    <td width="25%" height="30" align="right" bgcolor="#DFEAF3">新闻标题：</td>
    <td width="25%" height="30" align="left" bgcolor="#FFFFFF" class="tblz5">${news.newsTitle }</td>
    <td width="25%" height="30" align="right" bgcolor="#DFEAF3">新闻标题(英)：</td>
    <td width="25%" height="30" align="left" bgcolor="#FFFFFF" class="tblz5">${news.newsTitleEn }</td>
  </tr>
   <tr>
    <td height="30" align="right" bgcolor="#DFEAF3">新闻内容：</td>
    <td height="30" colspan="3" align="left" bgcolor="#FFFFFF" class="tblz5">
    ${news.newsContent }
    	</td>
  </tr>
   <tr>
    <td height="30" align="right" bgcolor="#DFEAF3">新闻内容(英)：</td>
    <td height="30" colspan="3" align="left" bgcolor="#FFFFFF" class="tblz5">
    ${news.newsContentEn }
    </td>
  </tr>
  <c:if test="${news.newsType=='1'}">
  <tr>
    <td height="25" align="right" bgcolor="#DFEAF3">图片信息：</td>
    <td height="25" colspan="3" align="left" bgcolor="#FFFFFF" class="tblz5">
        <div id="newPreview" style="width: 223px;height: 71px;vertical-align: middle;border: 

0px solid red;vertical-align: middle;">
			<img id="view" src="${ctx }/upload/news/${news.newsTypeName }" width="223" 

height="71" class="videoimg" />
		</div>
		   </td>
  </tr>
  </c:if>
  <c:if test="${news.newsType=='2'}">
    <td height="25" align="right" bgcolor="#DFEAF3">视频（点击地址播放）：</td>
    <td height="25" colspan="3" align="left" bgcolor="#FFFFFF" class="tblz5">
       <a href="${ctx }/news/news!play.action?newsTypeName=${news.newsTypeName }">点击播放</a>
    </td>
  </c:if>
     <tr>
    <td height="30" width="20%" align="right" bgcolor="#DFEAF3">中文附件：</td>
    <td height="30" colspan="3" align="left" bgcolor="#FFFFFF" class="tblz5">  
   <s:iterator value="newsAnnex" id="annex">
    <c:if test="${annex.aneexFlag == '0'}"><a href="${ctx }/news/news!download.action?download=${annex.annexAlias }"><s:property value="annexName"/>&nbsp;&nbsp;&nbsp;</a></c:if>
   </s:iterator>
    </td>
  </tr>
    <tr>
    <td height="30" width="20%" align="right" bgcolor="#DFEAF3">英文附件：</td>
    <td height="30" colspan="3" align="left" bgcolor="#FFFFFF" class="tblz5">  
    <s:iterator value="newsAnnex" id="annex">
       <c:if test="${annex.aneexFlag == '1'}"><a href="${ctx }/news/news!download.action?download=${annex.annexAlias }"><s:property value="annexName"/></a></c:if>
   </s:iterator>
    </td>
  </tr>
    <tr>
    <td height="30" width="20%" align="right" bgcolor="#DFEAF3">中英文附件：</td>
    <td height="30" colspan="3" align="left" bgcolor="#FFFFFF" class="tblz5">  
    <s:iterator value="newsAnnex" id="annex">
       <c:if test="${annex.aneexFlag == '2'}"><a href="${ctx }/news/news!download.action?download=${annex.annexAlias }"><s:property value="annexName"/></a></c:if>
   </s:iterator>
    </td>
  </tr>
</table>
</form>
      </li>
		</ul>
		</div>
	</div>
</div>
</html>

